package java_generics.why_use_generics;

import java.util.ArrayList;

public class Generic {

	public static void main(String[] args) {
		
		// Non Generic version of Array List
		ArrayList rawList = new ArrayList();
		
		// Generic version of Integer List
		ArrayList<Integer> intList = new ArrayList<>();
		
		// Generic version of String List
		ArrayList<String> stringList = new ArrayList<>(); 
		
		// Generic version of Double List
		ArrayList<String> doubleList = new ArrayList<>();

	}

}
